package com.cloud.alibaba;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 刘志强
 * @date 2020/11/19 09:34
 */
@EnableDiscoveryClient
@SpringBootApplication
@Slf4j
public class GatewayApplication implements CommandLineRunner {


    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }

    @Override
    public void run(String... args) {
        log.info("gateway已启动");
    }

}
